<!DOCTYPE html>
<html class="client-nojs vector-feature-night-mode-disabled vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-sticky-header-enabled" lang="en" dir="ltr"><head>
<meta charset="UTF-8">
<title>Damm algorithm</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="canonical" href="https://en.wikipedia.org/wiki/Damm_algorithm"> <link href="./mw/ext.cite.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/skins.vector.icons.css" rel="stylesheet" type="text/css">
<link href="./mw/skins.vector.search.codex.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/skins.vector.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/user.styles.css" rel="stylesheet" type="text/css">
<meta name="ResourceLoaderDynamicStyles" content="">
<link rel="stylesheet" type="text/css" href="./mw/site.styles.css">
<link rel="stylesheet" type="text/css" href="./mw/noscript.css">
<link rel="stylesheet" type="text/css" href="./footer.css">
<link rel="stylesheet" type="text/css" href="./vector-2022.css">
</head>
<body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject page-Damm_algorithm rootpage-Damm_algorithm skin-vector-2022 action-view">
<div class="mw-page-container">
<div class="mw-page-container-inner">
<div class="mw-content-container">
<main id="content" class="mw-body">
<header class="mw-body-header vector-page-titlebar">
<h1 id="firstHeading" class="firstHeading mw-first-heading">
<span id="openzim-page-title" class="mw-page-title-main"><span class="mw-page-title-main">Damm algorithm</span></span>
</h1>
</header>
<a id="top"></a>
<div id="bodyContent" class="vector-body ve-init-mw-desktopArticleTarget-targetContainer" aria-labelledby="firstHeading" data-mw-ve-target-container="">
<div id="mw-content-text" class="mw-body-content mw-content-ltr" lang="en" dir="ltr"><div class="mw-content-ltr mw-parser-output" lang="en" dir="ltr">
<p>In <a href="Error_detection" class="mw-redirect" title="Error detection">error detection</a>, the <b>Damm algorithm</b> is a <a href="Check_digit" title="Check digit">check digit</a> <a href="Algorithm" title="Algorithm">algorithm</a> that detects all <a href="Transcription_error" title="Transcription error">single-digit errors</a> and all <a href="Transcription_error#Transposition_error" title="Transcription error">adjacent transposition errors</a>. It was presented by H. Michael Damm in 2004,<sup id="cite_ref-fenwick2014_1-0" class="reference"><a href="#cite_note-fenwick2014-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup> as a part of his PhD dissertation entitled <i>Totally Antisymmetric Quasigroups.</i>
</p>
<meta property="mw:PageProp/toc">
<div class="mw-heading mw-heading2"><h2 id="Strengths_and_weaknesses">Strengths and weaknesses</h2></div>
<div class="mw-heading mw-heading3"><h3 id="Strengths">Strengths</h3></div>
<p>The Damm algorithm is similar to the <a href="Verhoeff_algorithm" title="Verhoeff algorithm">Verhoeff algorithm</a>. It too will detect <i>all</i> occurrences of the two most frequently appearing types of <a href="Transcription_error" title="Transcription error">transcription errors</a>, namely altering a single digit or transposing two adjacent digits (including the transposition of the trailing check digit and the preceding digit).<sup id="cite_ref-fenwick2014_1-1" class="reference"><a href="#cite_note-fenwick2014-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-Salomon2005_2-0" class="reference"><a href="#cite_note-Salomon2005-2"><span class="cite-bracket">[</span>2<span class="cite-bracket">]</span></a></sup> The Damm algorithm has the benefit that it does not have the dedicatedly constructed <a href="Permutation" title="Permutation">permutations</a> and its position-specific <a href="Exponentiation#In_abstract_algebra" title="Exponentiation">powers</a> of the <a href="Verhoeff_algorithm" title="Verhoeff algorithm">Verhoeff scheme</a>. A table of <a href="Inverse_element" title="Inverse element">inverses</a> can also be dispensed with when all main diagonal entries of the operation table are zero.
</p><p>The Damm algorithm generates only 10 possible values, avoiding the need for a non-digit character (such as the <a href="X" title="X">X</a> in the <a href="ISBN#ISBN-10_check_digit_calculation" title="ISBN">10-digit ISBN</a> <a href="Check_digit#ISBN_10" title="Check digit">check digit</a> scheme).
</p><p>Prepending leading zeros does not affect the check digit (a weakness for variable-length codes).<sup id="cite_ref-fenwick2014_1-2" class="reference"><a href="#cite_note-fenwick2014-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup>
</p><p>There are totally anti-symmetric quasigroups that detect all phonetic errors associated with the English language (<span class="nowrap">13 ↔ 30</span>, <span class="nowrap">14 ↔ 40</span>, ..., <span class="nowrap">19 ↔ 90</span>). The table used in the illustrating example is based on an instance of such kind.
</p>
<div class="mw-heading mw-heading3"><h3 id="Weaknesses">Weaknesses</h3></div>
<p>For all checksum algorithms, including the Damm algorithm, prepending leading zeroes does not affect the check digit,<sup id="cite_ref-fenwick2014_1-3" class="reference"><a href="#cite_note-fenwick2014-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup> so 1, 01, 001, etc. produce the same check digit. Consequently variable-length codes should not be verified together.
</p>
<div class="mw-heading mw-heading2"><h2 id="Design">Design</h2></div>
<p>Its essential part is a <a href="Quasigroup" title="Quasigroup">quasigroup</a> of <a href="Order_(group_theory)" title="Order (group theory)">order</a> 10 (i.e. having a <span class="nowrap">10 × 10</span> <a href="Latin_square" title="Latin square">Latin square</a> as the body of its <a href="Cayley_table" title="Cayley table">operation table</a>) with the special feature of being <a href="Quasigroup#Total_antisymmetry" title="Quasigroup">weakly totally anti-symmetric</a>.<sup id="cite_ref-dhmd_3-0" class="reference"><a href="#cite_note-dhmd-3"><span class="cite-bracket">[</span>3<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-damm2007_4-0" class="reference"><a href="#cite_note-damm2007-4"><span class="cite-bracket">[</span>4<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-BIS2003_5-0" class="reference"><a href="#cite_note-BIS2003-5"><span class="cite-bracket">[</span>i<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-Chen2009_6-0" class="reference"><a href="#cite_note-Chen2009-6"><span class="cite-bracket">[</span>ii<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-Mileva2009_7-0" class="reference"><a href="#cite_note-Mileva2009-7"><span class="cite-bracket">[</span>iii<span class="cite-bracket">]</span></a></sup> Damm revealed several methods to create totally anti-symmetric quasigroups of order 10 and gave some examples in his doctoral dissertation.<sup id="cite_ref-dhmd_3-1" class="reference"><a href="#cite_note-dhmd-3"><span class="cite-bracket">[</span>3<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-BIS2003_5-1" class="reference"><a href="#cite_note-BIS2003-5"><span class="cite-bracket">[</span>i<span class="cite-bracket">]</span></a></sup> With this, Damm also disproved an old conjecture that totally anti-symmetric quasigroups of order 10 do not exist.<sup id="cite_ref-damm2003_8-0" class="reference"><a href="#cite_note-damm2003-8"><span class="cite-bracket">[</span>5<span class="cite-bracket">]</span></a></sup>
</p><p>A quasigroup <span class="texhtml">(<i>Q</i>, ∗)</span> is called totally anti-symmetric if for all <span class="texhtml"><i>c</i>, <i>x</i>, <i>y</i> ∈ <i>Q</i></span>, the following implications hold:<sup id="cite_ref-damm2007_4-1" class="reference"><a href="#cite_note-damm2007-4"><span class="cite-bracket">[</span>4<span class="cite-bracket">]</span></a></sup>
</p>
<ol><li><span class="texhtml">(<i>c</i> ∗ <i>x</i>) ∗ <i>y</i> = (<i>c</i> ∗ <i>y</i>) ∗ <i>x</i> ⇒ <i>x</i> = <i>y</i></span></li>
<li><span class="texhtml"><i>x</i> ∗ <i>y</i> = <i>y</i> ∗ <i>x</i> ⇒ <i>x</i> = <i>y</i></span>,</li></ol>
<p>and it is called weak totally anti-symmetric if only the first implication holds. Damm proved that the existence of a totally anti-symmetric quasigroup of order <span class="texhtml"><i>n</i></span> is equivalent to the existence of a weak totally anti-symmetric quasigroup of order <span class="texhtml"><i>n</i></span>. For the Damm algorithm with the check equation
<span class="texhtml">(...((0 ∗ <i>x<sub>m</sub></i>) ∗ <i>x</i><sub><i>m</i>−1</sub>) ∗ ...) ∗ <i>x</i><sub>0</sub> = 0</span>,
a weak totally anti-symmetric quasigroup with the property
<span class="texhtml"><i>x</i> ∗ <i>x</i> = 0</span>
is needed. Such a quasigroup can be constructed from any totally anti-symmetric quasigroup by rearranging the columns in such a way that all zeros lay on the diagonal. And, on the other hand, from any weak totally anti-symmetric quasigroup a totally anti-symmetric quasigroup can be constructed by rearranging the columns in such a way that the first row is in natural order.<sup id="cite_ref-dhmd_3-2" class="reference"><a href="#cite_note-dhmd-3"><span class="cite-bracket">[</span>3<span class="cite-bracket">]</span></a></sup>
</p>
<div class="mw-heading mw-heading2"><h2 id="Algorithm">Algorithm</h2></div>
<p>The validity of a digit sequence containing a check digit is defined over a quasigroup. A quasigroup table ready for use can be taken from Damm's dissertation (pages 98, 106, 111).<sup id="cite_ref-dhmd_3-3" class="reference"><a href="#cite_note-dhmd-3"><span class="cite-bracket">[</span>3<span class="cite-bracket">]</span></a></sup> It is useful if each main diagonal entry is <span class="texhtml">0</span>,<sup id="cite_ref-fenwick2014_1-4" class="reference"><a href="#cite_note-fenwick2014-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup> because it simplifies the check digit calculation.
</p>
<div class="mw-heading mw-heading3"><h3 id="Validating_a_number_against_the_included_check_digit">Validating a number against the included check digit</h3></div>
<ol><li>Set up an interim digit and initialize it to <span class="texhtml">0</span>.</li>
<li>Process the number digit by digit: Use the number's digit as column index and the interim digit as row index, take the table entry and replace the interim digit with it.</li>
<li>The number is valid if and only if the resulting interim digit has the value of <span class="texhtml">0</span>.<sup id="cite_ref-fenwick2014_1-5" class="reference"><a href="#cite_note-fenwick2014-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup></li></ol>
<div class="mw-heading mw-heading3"><h3 id="Calculating_the_check_digit">Calculating the check digit</h3></div>
<p><b>Prerequisite:</b> The main diagonal entries of the table are <span class="texhtml">0</span>.
</p>
<ol><li>Set up an interim digit and initialize it to <span class="texhtml">0</span>.</li>
<li>Process the number digit by digit: Use the number's digit as column index and the interim digit as row index, take the table entry and replace the interim digit with it.</li>
<li>The resulting interim digit gives the check digit and will be appended as trailing digit to the number.<sup id="cite_ref-fenwick2014_1-6" class="reference"><a href="#cite_note-fenwick2014-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup></li></ol>
<div class="mw-heading mw-heading2"><h2 id="Example">Example</h2></div>
<p>The following operation table will be used.<sup id="cite_ref-fenwick2014_1-7" class="reference"><a href="#cite_note-fenwick2014-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup> It may be obtained from the totally anti-symmetric quasigroup <span class="texhtml"><i>x</i> ∗ <i>y</i></span> in Damm's doctoral dissertation page 111<sup id="cite_ref-dhmd_3-4" class="reference"><a href="#cite_note-dhmd-3"><span class="cite-bracket">[</span>3<span class="cite-bracket">]</span></a></sup> by rearranging the rows and changing the entries with the permutation <span class="texhtml"><i>φ</i> = (1 2 9 5 4 8 6 7 3)</span> and defining <span class="texhtml"><i>x</i> ⋅ <i>y</i> = <i>φ</i><sup>−1</sup>(<i>φ</i>(<i>x</i>) ∗ <i>y</i>)</span>.
</p>
<table class="skin-invert wikitable" style="text-align:center;color:#E000E0">
<tbody><tr style="color:#00A000">
<td style="width:1.5em"><span class="texhtml">⋅</span>
</td>
<td style="width:1.5em">0
</td>
<td style="width:1.5em">1
</td>
<td style="width:1.5em">2
</td>
<td style="width:1.5em">3
</td>
<td style="width:1.5em">4
</td>
<td style="width:1.5em">5
</td>
<td style="width:1.5em">6
</td>
<td style="width:1.5em">7
</td>
<td style="width:1.5em">8
</td>
<td style="width:1.5em">9
</td></tr>
<tr>
<td>0
</td>
<td><b>0</b></td>
<td><b>3</b></td>
<td><b>1</b></td>
<td><b>7</b></td>
<td><b>5</b></td>
<td><b>9</b></td>
<td><b>8</b></td>
<td><b>6</b></td>
<td><b>4</b></td>
<td><b>2</b>
</td></tr>
<tr>
<td>1
</td>
<td><b>7</b></td>
<td><b>0</b></td>
<td><b>9</b></td>
<td><b>2</b></td>
<td><b>1</b></td>
<td><b>5</b></td>
<td><b>4</b></td>
<td><b>8</b></td>
<td><b>6</b></td>
<td><b>3</b>
</td></tr>
<tr>
<td>2
</td>
<td><b>4</b></td>
<td><b>2</b></td>
<td><b>0</b></td>
<td><b>6</b></td>
<td><b>8</b></td>
<td><b>7</b></td>
<td><b>1</b></td>
<td><b>3</b></td>
<td><b>5</b></td>
<td><b>9</b>
</td></tr>
<tr>
<td>3
</td>
<td><b>1</b></td>
<td><b>7</b></td>
<td><b>5</b></td>
<td><b>0</b></td>
<td><b>9</b></td>
<td><b>8</b></td>
<td><b>3</b></td>
<td><b>4</b></td>
<td><b>2</b></td>
<td><b>6</b>
</td></tr>
<tr>
<td>4
</td>
<td><b>6</b></td>
<td><b>1</b></td>
<td><b>2</b></td>
<td><b>3</b></td>
<td><b>0</b></td>
<td><b>4</b></td>
<td><b>5</b></td>
<td><b>9</b></td>
<td><b>7</b></td>
<td><b>8</b>
</td></tr>
<tr>
<td>5
</td>
<td><b>3</b></td>
<td><b>6</b></td>
<td><b>7</b></td>
<td><b>4</b></td>
<td><b>2</b></td>
<td><b>0</b></td>
<td><b>9</b></td>
<td><b>5</b></td>
<td><b>8</b></td>
<td><b>1</b>
</td></tr>
<tr>
<td>6
</td>
<td><b>5</b></td>
<td><b>8</b></td>
<td><b>6</b></td>
<td><b>9</b></td>
<td><b>7</b></td>
<td><b>2</b></td>
<td><b>0</b></td>
<td><b>1</b></td>
<td><b>3</b></td>
<td><b>4</b>
</td></tr>
<tr>
<td>7
</td>
<td><b>8</b></td>
<td><b>9</b></td>
<td><b>4</b></td>
<td><b>5</b></td>
<td><b>3</b></td>
<td><b>6</b></td>
<td><b>2</b></td>
<td><b>0</b></td>
<td><b>1</b></td>
<td><b>7</b>
</td></tr>
<tr>
<td>8
</td>
<td><b>9</b></td>
<td><b>4</b></td>
<td><b>3</b></td>
<td><b>8</b></td>
<td><b>6</b></td>
<td><b>1</b></td>
<td><b>7</b></td>
<td><b>2</b></td>
<td><b>0</b></td>
<td><b>5</b>
</td></tr>
<tr>
<td>9
</td>
<td><b>2</b></td>
<td><b>5</b></td>
<td><b>8</b></td>
<td><b>1</b></td>
<td><b>4</b></td>
<td><b>3</b></td>
<td><b>6</b></td>
<td><b>7</b></td>
<td><b>9</b></td>
<td><b>0</b>
</td></tr></tbody></table>
<p>Suppose we choose the number (digit sequence) <b>572</b>.
</p>
<div class="mw-heading mw-heading3"><h3 id="Calculating_the_check_digit_2">Calculating the check digit</h3></div>
<table class="skin-invert wikitable" style="text-align:center;color:#E000E0">
<tbody><tr style="color:#00A000">
<th style="color:black"><span style="color:#00A000">digit to be processed</span> → column index
</th>
<td style="width:1.5em">5
</td>
<td style="width:1.5em">7
</td>
<td style="width:1.5em">2
</td></tr>
<tr>
<th style="color:black">old <span style="color:#E000E0">interim digit</span> → row index
</th>
<td><b>0</b>
</td>
<td>9
</td>
<td>7
</td></tr>
<tr>
<th style="color:black">table entry → new <span style="color:#E000E0">interim digit</span>
</th>
<td>9
</td>
<td>7
</td>
<td><b>4</b>
</td></tr></tbody></table>
<p>The resulting interim digit is <b>4</b>. This is the calculated check digit. We append it to the number and obtain <b>5724</b>.
</p>
<div class="mw-heading mw-heading3"><h3 id="Validating_a_number_against_the_included_check_digit_2">Validating a number against the included check digit</h3></div>
<table class="skin-invert wikitable" style="text-align:center;color:#E000E0">
<tbody><tr style="color:#00A000">
<th style="color:black"><span style="color:#00A000">digit to be processed</span> → column index
</th>
<td style="width:1.5em">5
</td>
<td style="width:1.5em">7
</td>
<td style="width:1.5em">2
</td>
<td style="width:1.5em">4
</td></tr>
<tr>
<th style="color:black">old <span style="color:#E000E0">interim digit</span> → row index
</th>
<td><b>0</b>
</td>
<td>9
</td>
<td>7
</td>
<td>4
</td></tr>
<tr>
<th style="color:black">table entry → new <span style="color:#E000E0">interim digit</span>
</th>
<td>9
</td>
<td>7
</td>
<td>4
</td>
<td><b>0</b>
</td></tr></tbody></table>
<p>The resulting interim digit is <b>0</b>, hence the number is <b>valid</b>.
</p>
<div class="mw-heading mw-heading3"><h3 id="Graphical_illustration">Graphical illustration</h3></div>
<p>This is the above example showing the detail of the algorithm generating the check digit (dashed blue arrow) and verifying the number <b>572</b> with the check digit.
</p><p><span class="mw-default-size" typeof="mw:File"></span>
</p>
<div class="mw-heading mw-heading2"><h2 id="References">References</h2></div>
<style data-mw-deduplicate="TemplateStyles:r1239543626">
/* start https://en.wikipedia.org/ */
.mw-parser-output .reflist{margin-bottom:0.5em;list-style-type:decimal}@media screen{.mw-parser-output .reflist{font-size:90%}}.mw-parser-output .reflist .references{font-size:100%;margin-bottom:0;list-style-type:inherit}.mw-parser-output .reflist-columns-2{column-width:30em}.mw-parser-output .reflist-columns-3{column-width:25em}.mw-parser-output .reflist-columns{margin-top:0.3em}.mw-parser-output .reflist-columns ol{margin-top:0}.mw-parser-output .reflist-columns li{page-break-inside:avoid;break-inside:avoid-column}.mw-parser-output .reflist-upper-alpha{list-style-type:upper-alpha}.mw-parser-output .reflist-upper-roman{list-style-type:upper-roman}.mw-parser-output .reflist-lower-alpha{list-style-type:lower-alpha}.mw-parser-output .reflist-lower-greek{list-style-type:lower-greek}.mw-parser-output .reflist-lower-roman{list-style-type:lower-roman}
/* end https://en.wikipedia.org/ */
</style><div class="reflist">
<div class="mw-references-wrap"><ol class="references">
<li id="cite_note-fenwick2014-1"><span class="mw-cite-backlink">^ <a href="#cite_ref-fenwick2014_1-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-fenwick2014_1-1"><sup><i><b>b</b></i></sup></a> <a href="#cite_ref-fenwick2014_1-2"><sup><i><b>c</b></i></sup></a> <a href="#cite_ref-fenwick2014_1-3"><sup><i><b>d</b></i></sup></a> <a href="#cite_ref-fenwick2014_1-4"><sup><i><b>e</b></i></sup></a> <a href="#cite_ref-fenwick2014_1-5"><sup><i><b>f</b></i></sup></a> <a href="#cite_ref-fenwick2014_1-6"><sup><i><b>g</b></i></sup></a> <a href="#cite_ref-fenwick2014_1-7"><sup><i><b>h</b></i></sup></a></span> <span class="reference-text"><style data-mw-deduplicate="TemplateStyles:r1238218222">
/* start https://en.wikipedia.org/ */
.mw-parser-output cite.citation{font-style:inherit;word-wrap:break-word}.mw-parser-output .citation q{quotes:"\"""\"""'""'"}.mw-parser-output .citation:target{background-color:rgba(0,127,255,0.133)}.mw-parser-output .id-lock-free.id-lock-free a{background:url("./mw/Lock-green.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-limited.id-lock-limited a,.mw-parser-output .id-lock-registration.id-lock-registration a{background:url("./mw/Lock-gray-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-subscription.id-lock-subscription a{background:url("./mw/Lock-red-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .cs1-ws-icon a{background:url("./mw/Wikisource-logo.svg")right 0.1em center/12px no-repeat}body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-free a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-limited a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-registration a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-subscription a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .cs1-ws-icon a{background-size:contain;padding:0 1em 0 0}.mw-parser-output .cs1-code{color:inherit;background:inherit;border:none;padding:inherit}.mw-parser-output .cs1-hidden-error{display:none;color:var(--color-error,#d33)}.mw-parser-output .cs1-visible-error{color:var(--color-error,#d33)}.mw-parser-output .cs1-maint{display:none;color:#085;margin-left:0.3em}.mw-parser-output .cs1-kern-left{padding-left:0.2em}.mw-parser-output .cs1-kern-right{padding-right:0.2em}.mw-parser-output .citation .mw-selflink{font-weight:inherit}@media screen{.mw-parser-output .cs1-format{font-size:95%}html.skin-theme-clientpref-night .mw-parser-output .cs1-maint{color:#18911f}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .cs1-maint{color:#18911f}}
/* end https://en.wikipedia.org/ */
</style><cite id="CITEREFFenwick2014" class="citation book cs1">Fenwick, Peter (2014). "Checksums and Error Control". In Fenwick, Peter (ed.). <i>Introduction to Computer Data Representation</i>. Bentham Science Publishers. pp. <a rel="nofollow" class="external text" href="http://ebooks.benthamscience.com/sample/9781608058822/51/">191–218</a>. <a href="Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.2174%2F9781608058822114010013">10.2174/9781608058822114010013</a>. <a href="ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a> <bdi>978-1-60805-883-9</bdi>.</cite></span>
</li>
<li id="cite_note-Salomon2005-2"><span class="mw-cite-backlink"><b><a href="#cite_ref-Salomon2005_2-0">^</a></b></span> <span class="reference-text">For the types of common errors and their frequencies, see <cite id="CITEREFSalomon2005" class="citation book cs1">Salomon, David (2005). <a rel="nofollow" class="external text" href="https://books.google.com/books?id=Zr9bjEpXKnIC&pg=PA36"><i>Coding for Data and Computer Communications</i></a>. Springer Science+Business Media, Inc. p. 36. <a href="ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a> <bdi>978-0387-21245-6</bdi>.</cite></span>
</li>
<li id="cite_note-dhmd-3"><span class="mw-cite-backlink">^ <a href="#cite_ref-dhmd_3-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-dhmd_3-1"><sup><i><b>b</b></i></sup></a> <a href="#cite_ref-dhmd_3-2"><sup><i><b>c</b></i></sup></a> <a href="#cite_ref-dhmd_3-3"><sup><i><b>d</b></i></sup></a> <a href="#cite_ref-dhmd_3-4"><sup><i><b>e</b></i></sup></a></span> <span class="reference-text"><cite id="CITEREFDamm2004" class="citation book cs1 cs1-prop-foreign-lang-source">Damm, H. Michael (2004). <a rel="nofollow" class="external text" href="http://archiv.ub.uni-marburg.de/diss/z2004/0516/pdf/dhmd.pdf"><i>Total anti-symmetrische Quasigruppen</i></a> <span class="cs1-format">(PDF)</span> (Dr. rer. nat.) (in German). Philipps-Universität Marburg. <a rel="nofollow" class="external text" href="http://nbn-resolving.de/urn:nbn:de:hebis:04-z2004-05162">urn:nbn:de:hebis:04-z2004-05162</a>.</cite></span>
</li>
<li id="cite_note-damm2007-4"><span class="mw-cite-backlink">^ <a href="#cite_ref-damm2007_4-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-damm2007_4-1"><sup><i><b>b</b></i></sup></a></span> <span class="reference-text"><cite id="CITEREFDamm2007" class="citation journal cs1">Damm, H. Michael (2007). <a rel="nofollow" class="external text" href="https://doi.org/10.1016%2Fj.disc.2006.05.033">"Totally anti-symmetric quasigroups for all orders <i>n</i> ≠ 2, 6"</a>. <i>Discrete Mathematics</i>. <b>307</b> (6): <span class="nowrap">715–</span>729. <a href="Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://doi.org/10.1016%2Fj.disc.2006.05.033">10.1016/j.disc.2006.05.033</a></span>. <a href="ISSN_(identifier)" class="mw-redirect" title="ISSN (identifier)">ISSN</a> <a rel="nofollow" class="external text" href="https://search.worldcat.org/issn/0012-365X">0012-365X</a>.</cite></span>
</li>
<li id="cite_note-damm2003-8"><span class="mw-cite-backlink"><b><a href="#cite_ref-damm2003_8-0">^</a></b></span> <span class="reference-text"><cite id="CITEREFDamm2003" class="citation journal cs1">Damm, H. Michael (2003). "On the Existence of Totally Anti-Symmetric Quasigroups of Order 4<i>k</i> + 2". <i>Computing</i>. <b>70</b> (4): <span class="nowrap">349–</span>357. <a href="Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1007%2Fs00607-003-0017-3">10.1007/s00607-003-0017-3</a>. <a href="ISSN_(identifier)" class="mw-redirect" title="ISSN (identifier)">ISSN</a> <a rel="nofollow" class="external text" href="https://search.worldcat.org/issn/0010-485X">0010-485X</a>. <a href="S2CID_(identifier)" class="mw-redirect" title="S2CID (identifier)">S2CID</a> <a rel="nofollow" class="external text" href="https://api.semanticscholar.org/CorpusID:31659430">31659430</a>.</cite></span>
</li>
</ol></div></div>
<div class="reflist reflist-lower-roman">
<div class="mw-references-wrap"><ol class="references">
<li id="cite_note-BIS2003-5"><span class="mw-cite-backlink">^ <a href="#cite_ref-BIS2003_5-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-BIS2003_5-1"><sup><i><b>b</b></i></sup></a></span> <span class="reference-text"><cite id="CITEREFBeliavscaiaIzbaşŞcerbacov2003" class="citation journal cs1">Beliavscaia, Galina; Izbaş, Vladimir; Şcerbacov, Victor (2003). <a rel="nofollow" class="external text" href="http://www.math.md/files/qrs/v10-n1/v10-n1-(pp1-28).pdf">"Check character systems over quasigroups and loops"</a> <span class="cs1-format">(PDF)</span>. <i>Quasigroups and Related Systems</i>. <b>10</b> (1): <span class="nowrap">1–</span>28. <a href="ISSN_(identifier)" class="mw-redirect" title="ISSN (identifier)">ISSN</a> <a rel="nofollow" class="external text" href="https://search.worldcat.org/issn/1561-2848">1561-2848</a>.</cite> See page 23.</span>
</li>
<li id="cite_note-Chen2009-6"><span class="mw-cite-backlink"><b><a href="#cite_ref-Chen2009_6-0">^</a></b></span> <span class="reference-text"><cite id="CITEREFChen_Jiannan2009" class="citation book cs1">Chen Jiannan (2009). <a rel="nofollow" class="external text" href="http://www.academypublisher.com/proc/iwisa09/papers/iwisa09p322.pdf">"The NP-completeness of Completing Partial anti-symmetric Latin squares"</a> <span class="cs1-format">(PDF)</span>. <a rel="nofollow" class="external text" href="http://www.academypublisher.com/proc/iwisa09/"><i>Proceedings of 2009 International Workshop on Information Security and Application (IWISA 2009)</i></a>. Academy Publisher. pp. <a rel="nofollow" class="external text" href="http://www.academypublisher.com/proc/iwisa09/papers/iwisa09p322.htm">322–324</a>. <a href="ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a> <bdi>978-952-5726-06-0</bdi>.</cite> See page 324.</span>
</li>
<li id="cite_note-Mileva2009-7"><span class="mw-cite-backlink"><b><a href="#cite_ref-Mileva2009_7-0">^</a></b></span> <span class="reference-text"><cite id="CITEREFMilevaDimitrova2009" class="citation journal cs1">Mileva, A.; Dimitrova, V. (2009). <a rel="nofollow" class="external text" href="http://manu.edu.mk/contributions/NMBSci/Papers/2009_5_Mileva.pdf">"Quasigroups constructed from complete mappings of a group (Z<sub>2</sub><sup>n</sup>,⊕)"</a> <span class="cs1-format">(PDF)</span>. <i>Contributions, Sec. Math. Tech. Sci., MANU/MASA</i>. <b>XXX</b> (<span class="nowrap">1–</span>2): <span class="nowrap">75–</span>93. <a href="ISSN_(identifier)" class="mw-redirect" title="ISSN (identifier)">ISSN</a> <a rel="nofollow" class="external text" href="https://search.worldcat.org/issn/0351-3246">0351-3246</a>.</cite> See page 78.</span>
</li>
</ol></div></div>
<div class="mw-heading mw-heading2"><h2 id="External_links">External links</h2></div>
<style data-mw-deduplicate="TemplateStyles:r1290876196">
/* start https://en.wikipedia.org/ */
.mw-parser-output .side-box{margin:4px 0;box-sizing:border-box;border:1px solid #aaa;font-size:88%;line-height:1.25em;background-color:var(--background-color-interactive-subtle,#f8f9fa);display:flow-root}.mw-parser-output .infobox .side-box{font-size:100%}.mw-parser-output .side-box-abovebelow,.mw-parser-output .side-box-text{padding:0.25em 0.9em}.mw-parser-output .side-box-image{padding:2px 0 2px 0.9em;text-align:center}.mw-parser-output .side-box-imageright{padding:2px 0.9em 2px 0;text-align:center}@media(min-width:500px){.mw-parser-output .side-box-flex{display:flex;align-items:center}.mw-parser-output .side-box-text{flex:1;min-width:0}}@media(min-width:720px){.mw-parser-output .side-box{width:238px}.mw-parser-output .side-box-right{clear:right;float:right;margin-left:1em}.mw-parser-output .side-box-left{margin-right:1em}}
/* end https://en.wikipedia.org/ */
</style><style data-mw-deduplicate="TemplateStyles:r1237033735">
/* start https://en.wikipedia.org/ */
@media print{body.ns-0 .mw-parser-output .sistersitebox{display:none!important}}@media screen{html.skin-theme-clientpref-night .mw-parser-output .sistersitebox img[src*="Wiktionary-logo-en-v2.svg"]{background-color:white}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .sistersitebox img[src*="Wiktionary-logo-en-v2.svg"]{background-color:white}}
/* end https://en.wikipedia.org/ */
</style><div class="side-box side-box-right sistersitebox"><style data-mw-deduplicate="TemplateStyles:r1126788409">
/* start https://en.wikipedia.org/ */
.mw-parser-output .plainlist ol,.mw-parser-output .plainlist ul{line-height:inherit;list-style:none;margin:0;padding:0}.mw-parser-output .plainlist ol li,.mw-parser-output .plainlist ul li{margin-bottom:0}
/* end https://en.wikipedia.org/ */
</style>
<div class="side-box-flex">
<div class="side-box-image"><span class="noviewer" typeof="mw:File"></span></div>
<div class="side-box-text plainlist">Wikibooks has a book on the topic of: <i><b><a href="https://en.wikibooks.org/wiki/Algorithm_Implementation/Checksums/Damm_Algorithm" class="extiw external" title="wikibooks:Algorithm Implementation/Checksums/Damm Algorithm">Algorithm Implementation/Checksums/Damm Algorithm</a></b></i></div></div>
</div>
<ul><li><a href="https://en.wikibooks.org/wiki/Algorithm_Implementation/Checksums/Damm_Algorithm" class="extiw external" title="b:Algorithm Implementation/Checksums/Damm Algorithm">Damm validation & generation code in several programming languages</a></li>
<li><a rel="nofollow" class="external text" href="https://www.cantab-ip.com/blog/2014/01/20/new-format-for-singapore-ip-application-numbers-at-ipos/">Practical application in Singapore</a></li>
<li><a rel="nofollow" class="external text" href="http://www.md-software.de/math/DAMM_Quasigruppen.txt">Quasigroups for the Damm algorithm up to order 64</a></li>
<li><a rel="nofollow" class="external text" href="https://rosettacode.org/wiki/Damm_algorithm">At RosettaCode.org, Implementations of the Damm algorithm in many programming languages</a></li></ul></div><!--htdig_noindex--><div><div class="zim-footer">
This article is issued from <a class="external text" title="Last edited on 2025-06-08" href="https://en.wikipedia.org/wiki/?title=Damm_algorithm&oldid=1294493231">Wikipedia</a>. The text is available under <a class="external text" href="https://creativecommons.org/licenses/by-sa/4.0/deed.en">Creative Commons Attribution-Share Alike 4.0</a> unless otherwise noted. Additional terms may apply for the media files.
</div>
</div><!--/htdig_noindex--></div>
</div>
</main>
</div>
</div>
</div>
</body></html>